package cloud.xiangyixiang.www.spring.boot.java.basics.pojo.bo;

import java.io.Serializable;

/**
 * <p>
 * UserSerializableBO
 * </p>
 *
 * @author weixin
 * @date 2023/9/2 19:01
 */
public class UserTransientBO implements Serializable {

    /**
     *  序列化ID
     */
    private static final long serialVersionUID = 1L;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private transient String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "UserTransientBO{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
